Read (Get) OleAutoArgs Value

    I have a complicated code that eventually passes OleAutoArgs into a method. To aid in debugging I would like to retrieve and analyze the values in the OleAutoArgs variable just prior to executing the method. How can I read the values of OleAutoArgs.

    The below code does not work but it would be nice to have a simple way like this to look inside the OleAutoArgs Variable.

OleAutoArgs args = create
put(args, "One")
put(args, 2)
put(args,3.3)

???
for each arg in args do{
    print stringOf(arg)
}
???

 


tlhIngan - Thu May 26 10:58:53 EDT 2016

Re: Read (Get) OleAutoArgs Value
DOORSHAM - Thu May 26 11:28:39 EDT 2016

I would be willing to bet you will have to build your own data structure that you can read.

Re: Read (Get) OleAutoArgs Value
Costas..Aravidis - Fri May 27 01:31:39 EDT 2016

Have a look at the DXL manual about OLE Automation. Your question is very general and I think you will find the information needed there.

Re: Read (Get) OleAutoArgs Value
tlhIngan - Fri May 27 10:54:56 EDT 2016

Costas..Aravidis - Fri May 27 01:31:39 EDT 2016

Have a look at the DXL manual about OLE Automation. Your question is very general and I think you will find the information needed there.

The DXL manual has not been helpful with this question. Nor has an internet search found any clues to a solution.